package com.oedtech.esl.json;

import java.io.Serializable;

/**
 * json结果保存
 */
public class JsonResult implements Serializable{
    private String cmd;
    private Object obj;
    private String msg;

    public JsonResult(String cmd, String msg) {
        this.cmd = cmd;
        this.msg = msg;
    }



    public JsonResult(String cmd, Object obj, String msg) {
        this.cmd = cmd;
        this.obj = obj;
        this.msg = msg;
    }

    public String getCmd() {
        return cmd;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
